{extend name='common@layout/base' /}
{block name='breadcrumb'}{/block}
{block name='content'}
<script src="/old/shop/resource/js/search_goods.js?{$Think.config.version_source}"></script>
<link href="/old/shop/templates/new20160622/css/layout.css?{$Think.config.version_source}" rel="stylesheet" type="text/css">
<style type="text/css">
body {
_behavior: url(/old/shop/templates/new20160622/css/csshover.htc);
}
.store_index_title .active{
	color: #000;
	border-bottom: 4px solid #EC5171;
}
.store_index_title a{
	color: #666;
	text-decoration: none;
}
.new_page{
	padding: 8px 13px 8px 12px;
}
.new_page .active{
	color: rgb(74,110,156);
}

.nch-sortbar-array li.selected {
	background-color: #EC5171 !important;
	color: white !important;
}

.nch-sortbar-array li.selected a {
	color: white !important;
}

.nch-sortbar-array li.selected:hover a {
	color: white !important;
}

.nch-sortbar-array li:hover a {
	color: #EC5171 !important;
}

.new_arrow_2{
    font-size: 0px;
    line-height: 0;
    vertical-align: middle;
    display: inline-block;
    width: 0px;
    height: 0px;
    border-width: 4px;
    border-color: #777 transparent transparent transparent;
    border-style: solid dashed dashed dashed;
    -webkit-transition: .2s ease-in;
    -moz-transition: -webkit-transform .2s ease-in;
    -o-transition: -webkit-transform .2s ease-in;
    transition: .2s ease-in;	
}
</style>
<div class="bfc">
  <div class="ncs-main">
    <div class="flexslider" style="min-height: 440px;max-height: 440px;overflow:hidden;">
      <ul class="slides">
        {if(isset($slide) && is_array($slide))}
	        {for start='1' end='5'}
		        {if($slide[$i])}
		        <li style="text-align: center;max-width: 1920px;max-height: 440px;"><a <?php if($slide_url[$i] != '' && $slide_url[$i] != 'http://'){ ?> href="<?php echo $slide_url[$i];?>" <?php }?> >
		        <img alt="店铺大图"  src="{$slide[$i]|img_url}"></a></li>
		        {/if}
	        {/for}
        {else /}
            {foreach($default_slide as $key => $val)}
            <li style="text-align: center;max-width: 1920px;max-height: 440px;"><img alt="{$val.name}" src="{$val.image|img_url}"></li>
            {/foreach}
        {/if}
      </ul>
    </div>
  </div>
</div>
<script type="text/javascript" src="/old/data/resource/js/jquery.flexslider-min.js"></script> 

<script type="text/javascript">
	$(document).ready(function() {
		
		$('.flexslider').flexslider(
			{
				directionNav: false,
				controlNav: false,
			}
		);  

	    $('.goods-thumb-scroll-show').find('a').mouseover(function(){
	        $(this).parents('li:first').addClass('selected').siblings().removeClass('selected');
	        var _src = $(this).find('img').attr('src');
	        _src = _src.replace('_60.', '_240.');
	        $(this).parents('dt').find('.goods-thumb').find('img').attr('src', _src);
	    });
	});
</script>
<div class="new_w100_ new_h100_ bfc">
<div class="nch-container wrapper">
	
	<div class="new_w100_ new_bg_gray new_h50 store_index_title">
		<a href="{:url('index/store/index',['store_id'=>$store_info['id']])}" class="pull-left new_w100 new_h30 text_center new_inline-block  new_pt16">
			<span class="f15">店铺首页</span>
		</a>
		<a href="{:url('index/store/info',['store_id'=>$store_id])}" class="pull-left new_w100 new_h30 text_center new_inline-block active new_pt16">
			<span class="f15">店铺介绍</span>
		</a>
	</div>
	<div class="page_template new_w100_ new_border2" style="position: relative;">
		{$store_info.intro}
		</div>
  	<script src="/old/shop/resource/js/search_goods.js?{$Think.config.version_source}"></script>
	<link href="/old/shop/templates/new20160622/css/layout.css?{$Think.config.version_source}" rel="stylesheet" type="text/css">
	
</div>
</div>
<script type="text/javascript">

$(function(){
    $('#main-nav-holder').waypoint(function(event, direction) {
        $(this).parent().toggleClass('sticky', direction === "down");
        event.stopPropagation();
    });
});
</script>
{/block}